package com.d0325;

public class PrintArrayTest {
    public static void printArray(Integer[] arrs) {
        for (Integer i:
        arrs){
            System.out.println(i);
        }
    }

    public static void printArray(String[] arrs) {
        for (String i:
        arrs){
            System.out.println(i);
        }
    }

    public static void printArray(Double[] arrs) {
        for (Double i:
                arrs){
            System.out.println(i);
        }
    }

    public static void main(String[] args) {
        Integer[] intArrs = {1,2,3,4,5};
        String[] strArrs = {"as","ad","sd"};
        Double[] douArrs = {1.1,1.3,1.4,1.5};

        printArray(intArrs);
        printArray(strArrs);
        printArray(douArrs);
    }
}
